package org.apache.servicecomb.samples.practise.houserush.gateway.rpc;

import org.apache.servicecomb.samples.practise.houserush.gateway.rpc.po.User;

import java.util.concurrent.CompletableFuture;

public interface UserApi {

//    User signin(User user);
    //校验token
//    User verifyToken(String token);

    CompletableFuture<User> signin(User user);

    CompletableFuture<User> verifyToken(String token);
}
